<!doctype html>
<html>
<meta charset="UTF-8">
<title>宝宝树66小区</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
<meta name="format-detection" content="telephone=no" />
<head>
    <!--宝宝树66小区二次改造    mod   zhangm  20170825  start-->
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .babytree-download {
            width:100%;
            position:fixed;
            top:0;
            z-index: 99;
            clear: both;

        }
        section {
            position:absolute;
            width: 100%;
            bottom:0;
            left:0;
            right:0;


        }
        .app-load{
            position: fixed;
            top: 2%;
            right: 10px;
            color: white;
            background: #fe8562;
            border-radius: 20px;
            display: inline-block;
            height: 34px;
            line-height: 34px;
            text-align: center;
            width: 30%;
            text-decoration:none;
        }
        .scroll-wrapper {
            -webkit-overflow-scrolling: touch;
            overflow-y: scroll;
            /* 提示: 请在此处加上需要设置的大小(dimensions)或位置(positioning)信息! */
        }
    </style>
    <!--宝宝树66小区二次改造    mod   zhangm  20170825  end-->
</head>
<!--宝宝树66小区二次改造    mod   zhangm  20170825  start-->
<body id = "body">
<header>
    <div class="babytree-download ">
        <img src="../../../images/babytree-top.jpg" style="width: 100%;">
        <a href="javascript:;" class = "app-load" onclick="toDownload();">立即开启</a>
    </div>
</header>
<section class="main">
    <!--<iframe id="meitunIframe" src="" width='100%' height='100%' frameborder="0" scrolling="auto">
    </iframe>-->
    <div class="scroll-wrapper">
    <iframe id="meitunIframe" frameborder="0" marginheight="0" marginwidth="0" width="100%"height="100%"></iframe>
    </div>
</section>
</body>
<!--宝宝树66小区二次改造    mod   guo.xiaomin  20170829  start-->
<script type="text/javascript" src="../../../js/lib/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="../../../../../controller/common.js"></script>
<script type="text/javascript" src="../../../js/share/web/meitunShare.js"></script>
<script type="text/javascript" src="../../../js/share/utils1.js"></script>
<script>
    window.onload=function() {
             var u = navigator.userAgent;
             var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
             var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
             if(isAndroid){
                 $("#meitunIframe").attr("scrolling","yes");
                 var height = $(".babytree-download").height();
                 $("#meitunIframe").width($(window).width());
                 $("#meitunIframe").height($(window).height()-height);

                 $(".main").css("top", height);
             }
        if(isiOS){
            $("#meitunIframe").attr("scrolling","no");
            var height = $(".babytree-download").height();
            $("#meitunIframe").width($(window).width());
            $("#meitunIframe").css("height",$(window).height()-height);
            $(".scroll-wrapper").css("height",$(window).height()-height);
            $(".main").css("top", height);

        }

    }
</script>
<!--宝宝树66小区二次改造    mod   guo.xiaomin  20170829  end-->
</html>
<!--宝宝树66小区二次改造    mod   zhangm  20170825  end-->